import {request} from './index'
export function getPlaylist(cat,order,offset) {
  return request({
    url: '/top/playlist',
    params: {
      order,
      cat,
      limit:35,
      offset
    }
  })
}
export function getPlaylistCat() {
  return request({
    url:'/playlist/catlist'
  })
}
export function getPlaylistDetail(id) {
  return request({
    url: '/playlist/detail',
    params: {
      id
    }
  })
}
export function getPlaylistComment(id,offset) {
  return request({
    url: '/comment/playlist',
    params: {
      id,
      offset
    }
  })
}
export function getLovePeople(id) {
  return request({
    url: '/playlist/subscribers',
    params: {
      id,
      limit:8
    }
  })
}